home *** CD-ROM | disk | FTP | other *** search
- @echo=off
- if not exist %1\bin\tlib.exe goto error
- echo Usage: REMOVE (TC/TC++ path)
- echo
- echo REMOVE will remove VIDEO HANDLING FUNCTIONS from your RTL libraries and
- echo the following VIDEO HANDLING FUNCTIONS files:
- echo %1\INCLUDE\CRT.H
- echo %1\DOC\VIDEOHLP.TXT
- echo Continue?
- choice /c:yn
- if errorlevel 2 goto end
- echo Removing CRT functions from the RTL libraries
- echo Processing cs.lib
- tlib %1\lib\cs.lib @remove.dat
- echo Processing cm.lib
- tlib %1\lib\cm.lib @remove.dat
- echo Processing cc.lib
- tlib %1\lib\cc.lib @remove.dat
- echo Processing cl.lib
- tlib %1\lib\cl.lib @remove.dat
- echo Processing ch.lib
- tlib %1\lib\ch.lib @remove.dat
- echo Removing unecessary backup files created by TLIB
- del %1\lib\cc.bak
- del %1\lib\cs.bak
- del %1\lib\cm.bak
- del %1\lib\cl.bak
- del %1\lib\ch.bak
- echo Deleting header file CRT.H
- del %1\include\crt.h
- echo Deleting help file VIDEOHLP.TXT
- del %1\doc\videohlp.txt
- echo
- echo Uninstallation complete. As some files or directories may have been
- echo changed since last installation, it would be good to check if
- echo uninstallation has been properly executed.
- goto end
- :error
- echo
- echo ERROR: %1\BIN\TLIB.EXE not found.
- echo This problably has happened because you gave wrong path of TC or because
- echo your C/C++ compiler is not Turbo C/C++. (in this case edit this batch file)
- echo For more information read README.1ST.
- :end
- @echo=on
-
-